import { Button } from '@antmjs/vantui';
import { CSpaceCustom } from '@vh-mobile/pro-components';
import MainContainerCustom from '@/components/MainContainerCustom';
import AuthCustom from '@/components/AuthCustom';
import { toast } from '@vh-mobile/pro-utils';

export default function DemoWechatLogin() {
  const onClick = () => {
    toast.success('已登录');
  };
  return (
    <MainContainerCustom>
      <CSpaceCustom direction="vertical">
        <AuthCustom>
          <Button type="info" block={true} onClick={onClick}>
            需要登录
          </Button>
        </AuthCustom>
      </CSpaceCustom>
    </MainContainerCustom>
  );
}
